package fec.xkdx.com.festec;

import android.app.Application;

import com.joanzapata.iconify.fonts.FontAwesomeModule;

import fec.xkdx.com.latter.app.Latte;
import fec.xkdx.com.latter.net.interceptor.DebugInterceptor;
import fec.xkdx.com.latterec.ec.icon.FontEcModule;

/**
 * Created by 神前晓 on 2018/3/7.
 */

public class ExampleApp extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Latte.init(this)
                .withIcon(new FontAwesomeModule())
                .withIcon(new FontEcModule())
                .withApiHost("http://172.16.21.1/")
                .withInterceptor(new DebugInterceptor("index",R.raw.test))
                .configure();
    }
}
